/*
 * (C) Copyright 2016 Ymatou (http://www.ymatou.com/).
 * 
 * All rights reserved.
 */
package com.ymatou.iapi.trading.operate.parameter.req;

import java.util.List;

import com.ymatou.iapi.trading.operate.parameter.OrderGroupVo;
import com.ymatou.iapi.trading.operate.parameter.YmatouCouponVo;
import com.ymttest.common.entitie.OrderInfo;
import com.ymttest.common.enums.AppTerminalSourceEnum;
import com.ymttest.common.enums.OrderSourceEnum;
import com.ymttest.common.enums.TerminalSourceEnum;


/**
 * 
 * @author tuwenjie 2016年5月7日 下午4:13:45
 *
 */
public class PlaceOrderBean extends BaseRequest {
    private static final Long serialVersionUID = -6380630094035523851L;

    // 买家ID
    private int userId;

    // 买家级别
    private int userLevel;

    // 订单来源
    private int orderSource;

    // 终端来源
    private int terminalSource;

    // 应用终端来源
    private int appTerminalSource;

    // 买家IP
    private String sourceIp;

    // 设备ID
    private String deviceId;

    // 用户设备原始ID,例如IMEI等
    private String equipmentId;


    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    // 订单组列表。一般按买手分组
    private List<OrderGroupVo> orderGroups;

    // 使用的平台优惠券
    private YmatouCouponVo ymatouCoupon;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }

    public int getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(int orderSource2) {
        this.orderSource = orderSource2;
    }

    public int getTerminalSource() {
        return terminalSource;
    }

    public void setTerminalSource(int terminalSource2) {
        this.terminalSource = terminalSource2;
    }

    public int getAppTerminalSource() {
        return appTerminalSource;
    }

    public void setAppTerminalSource(int appTerminalSource2) {
        this.appTerminalSource = appTerminalSource2;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSourceIp() {
        return sourceIp;
    }

    public void setSourceIp(String sourceIp) {
        this.sourceIp = sourceIp;
    }

    public List<OrderGroupVo> getOrderGroups() {
        return orderGroups;
    }

    public void setOrderGroups(List<OrderGroupVo> orderGroups) {
        this.orderGroups = orderGroups;
    }

    public YmatouCouponVo getYmatouCoupon() {
        return ymatouCoupon;
    }

    public void setYmatouCoupon(YmatouCouponVo ymatouCoupon) {
        this.ymatouCoupon = ymatouCoupon;
    }
    
    /**订单信息*/
	private List<OrderInfo> OrderInfoList;

	public List<OrderInfo> getOrderInfoList() {
		return OrderInfoList;
	}

	public void setOrderInfoList(List<OrderInfo> orderInfoList) {
		OrderInfoList = orderInfoList;
	}

    @Override
    public boolean requireRequestId() {
        return true;
    }
}
